-- GENERATED SPELL FOR [Fel Guardhound] --


function spell0_18642(pUnit, Event) --@Spell Lock,n/a--
pUnit:FullCastSpellOnTarget(30849,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18642', 4332, 1)
end

function Sorts_18642(pUnit, Event)
local choix_sorts_18642 = math.random(0, 0)
if choix_sorts_18642 == 0 then
pUnit:RegisterEvent('spell0_18642', 1, 1)
end
end

function mob18642_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18642', math.random(1500, 3000), 1)
end

function mob18642_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18642_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18642_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18642, 1, 'mob18642_Action')
RegisterUnitEvent(18642, 2, 'mob18642_Leave')
RegisterUnitEvent(18642, 3, 'mob18642_Kill')
RegisterUnitEvent(18642, 4, 'mob18642_Die')
